from flask_restful import Api

from apps.settingApi.api.file.views import fileListView,filePkView,uploadListView

file_api = Api(prefix='/setting/file/')

# 操作
file_api.add_resource(fileListView,'/filelist/',endpoint="filelist")
# 操作
file_api.add_resource(filePkView,'/filepk/<pk>/',endpoint="filepk")


# 上传文件和查看文件
file_api.add_resource(uploadListView,'/uploadlist/',endpoint="uploadlist")
